package com.cn.rpcframe.registeranddiscover;

import java.util.List;

import org.apache.zookeeper.ZooKeeper;

public interface ServiceRegisterAndDiscovery {
	/**
     * 注册服务名称与服务地址
     *
     * @param serviceName    服务名称
     * @param serviceAddress 服务地址
     */
	boolean register(String serviceName );

    String discovery(String serviceName );
}
